//
//  MGYAlertView.h
//  MGYRightAndError
//
//  Created by jiangjunwy on 16/7/13.
//  Copyright © 2016年 SanYouApp. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface MGYAlertView : UIView

@property (strong,nonatomic) CAShapeLayer *waitLayer;

@property (strong,nonatomic) CAShapeLayer *changedLayer;

@property (strong,nonatomic) CAShapeLayer *rightLayer;

@property (strong,nonatomic) CAShapeLayer *errorLayer1;

@property (strong,nonatomic) CAShapeLayer *errorLayer2;

@property (strong,nonatomic) CAShapeLayer *LoadingLayer;
///判断是否成功  yes为成功
@property (assign,nonatomic) BOOL Bsuccess;

-(void)startAnimationSuccess;

-(void)startAnimationError;

-(void)startAnimation3;



+ (void)MGYShowLoadingWithText:( NSString *)title;

+ (void)MGYSuccessWithText:( NSString *)title;

+ (void)MGYfailureWithText:( NSString *)title;

+ (void)MGYDisappearFromPage;

@end
